package es.unileon.prg2.patterns.composite;

import es.unileon.prg2.patterns.handler.Handler;
import es.unileon.prg2.patterns.handler.MalformedHandlerException;
import es.unileon.prg2.patterns.handler.ShortName;

public class ProvinceShortName{

	private ShortName id;
	
	public ProvinceShortName(String id) throws MalformedHandlerException{
		this.id = new ShortName(id);
	}

	public ProvinceShortName(Handler id) throws MalformedHandlerException{
		this(id.toString());
	}
		
	public Handler getId(){
		return this.id;
	}



}
